//=== faceDetector.h =================================================
#ifndef FACEDETECTOR_H
#define FACEDETECTOR_H

#include "cv.h"
#include "highgui.h"

#include <iostream>
#include <cstdio>

//FIX : what namespaces where?
//using namespace cv;


//FIX : big three?

class FaceDetector {
	public:
		//TODO : should this be there, or is implicit from default arg to other constructor? 
		//FaceDetector();
		FaceDetector(double scale);
	
		//TODO
		//void setScale(double scale);
		//double getScale();

	
	std::vector< cv::Rect >* detectFace( cv::Mat& img );
	
	private:
		cv::String cascadeName;
		cv::CascadeClassifier cascade;
		double scale;
};
#endif